package com.ruoyi.work.domain;

import java.util.Map;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
/**
 * 救援队伍台账对象 tb_rescue_team
 *
 * @author szm
 * @date 2025-10-21
 */
@Data
@TableName("tb_rescue_team")
@ApiModel(value = "TbRescueTeam对象", description = "救援队伍台账")
public class TbRescueTeam extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /** 组建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "组建日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("组建日期")
    @TableField(value = "apply_date")
    private Date applyDate;

    /** 人员 */
    @Excel(name = "人员")
    @ApiModelProperty("人员")
    @TableField(value = "user_no")
    private String userNo;

    /** 人员姓名 */
    @Excel(name = "人员姓名")
    @ApiModelProperty("人员姓名")
    @TableField(value = "user_name")
    private String userName;

    /** 班组编号 */
    @Excel(name = "班组编号")
    @ApiModelProperty("班组编号")
    @TableField(value = "dept_no")
    private String deptNo;

    /** 班组名称 */
    @Excel(name = "班组名称")
    @ApiModelProperty("班组名称")
    @TableField(value = "dept_name")
    private String deptName;

    /** 线路 */
    @Excel(name = "线路")
    @ApiModelProperty("线路")
    @TableField(value = "line_name")
    private String lineName;

    /** 备注 */
    @Excel(name = "备注")
    @ApiModelProperty("备注")
    @TableField(value = "remark")
    private String remark;

    /** 1 作业中 2结束 99取消 */
    @Excel(name = "1 作业中 2结束 99取消")
    @ApiModelProperty("1 作业中 2结束 99取消")
    @TableField(value = "status")
    private String status;

    /** 请求参数 */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @TableField(exist = false)
    private Map<String, Object> params;
}
